
body{
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    
    #app{
        width: 100%;
        height: 100%;
        /* box-sizing: border-box; */
        background-color: #fcfcfc;
    }
}

.flex-box{
    display: flex;
    align-items: center;
}

a{
    height: 100%;
    color: #333;
    font-size: 15px;
}

/* 布局容器 */
.common-layout{
    height: 100%;

    .el-container{
        height: 100%;

        // 左侧菜单
        .aside-container{
            height: 100%;

            .logo-lg{
                font-size: 20px;
                text-align: center;
                color: #fff;
                height: 50px;
                line-height: 50px;
                margin: 0;
            }
        }

        .el-container{
            .el-header{
                --el-header-padding: initial;
                --el-header-height: initial;
                
                .header-container{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    height: 100%;
                    background-color: #fff;
                    padding-right: 25px;

                    .header-left{
                        height: 100%;

                        .icon{
                            width: 45px;
                            height: 100%;
                        }

                        .icon:hover{
                            background-color: #f5f5f5;
                            cursor: pointer;
                        }

                        ul{
                            padding-left: 0;
                            height: 100%;

                            .tab{
                                padding: 0 5px;
                                height: 100%;
                                color: 333;

                                .text{
                                    color: 333;
                                    margin: 0 5px;
                                    font-size: 14px;
                                }

                                .close{
                                    visibility: hidden;
                                }

                                &.selected{
                                    background-color: #f5f5f5;
                                    color: #409eff;

                                    .text{
                                        color: #409eff;
                                    }
                                    .close{
                                        Close{
                                            color: #409eff;
                                        }
                                    }
                                }
                            }

                            .tab:hover{
                                background-color: #f5f5f5;

                                .close{
                                    visibility: inherit;
                                    cursor: pointer;
                                    color: #000;
                                }
                            }
                        }
                    }

                    .header-right{
                        cursor: pointer;

                        .el-avatar{
                            margin-right: 10px;
                        }
                        .el-dropdown:focus{
                            // outline: none;
                            border: 0;
                        }
                    }
                }
            }
            
            .el-main{

            }
        }
    }
}

// 登录页
.login-container{
    height: 100%;
    .el-card{
        .el-card__header{
            padding: 0;
            .card-header{
                background-color: #899fe1;
                img{
                    width: 430px;
                }
            }
        }
        .el-card__body{

            .jump-link{
                text-align: right;
                margin-bottom: 10px;
            }

            .el-form{
                .el-form-item{
                    .el-input{
                        .el-input-group__append{
                            cursor: pointer;
                        }
                    }

                    .el-button{
                        width: 100%;
                        cursor: pointer;
                    }
                }
            }
        }
    }
}